import {createApp} from 'vue'
import Antd from 'ant-design-vue';
import * as Icons from '@ant-design/icons-vue'
import store from './store/store.js'
import 'ant-design-vue/dist/antd.css';
import './style.css'
import App from './App.vue'

import router from './router.js'
import directive from "@/directive/index.js";

const app = createApp(App)

app.use(directive).use(Antd).use(router).use(store).mount('#app')

// 注册图标组件
for (const i in Icons) {
    app.component(i, Icons[i])
}
